//
//  MovieCollectionViewCell.m
//  UI_豆瓣更新版
//
//  Created by dllo on 16/1/5.
//  Copyright © 2016年 lanou3g. All rights reserved.
//

#import "MovieCollectionViewCell.h"

@implementation MovieCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        [self creatSubviews];
    }
    return self;
}

- (void)dealloc {
    
    [_imgView release];
    [_nameLabel release];

    [super dealloc];
}

- (void)creatSubviews {
    
    self.imgView = [[UIImageView alloc] init];
    [self.contentView addSubview:_imgView];
    [_imgView release];
    
    self.nameLabel = [[UILabel alloc] init];
    [self.contentView addSubview:_nameLabel];
    [_nameLabel release];
    
    
}

- (void)layoutSubviews {
    [super layoutSubviews];
    
    _imgView.frame = CGRectMake(0, 0, 111, 150);
    
    _nameLabel.frame = CGRectMake(0, 160, 111, 30);
    _nameLabel.backgroundColor = [UIColor clearColor];
    
    
}






@end












